package com.api.sw.duban.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;

import java.text.SimpleDateFormat;
import java.util.Date;

/*
    反馈时间记录表

 */
@Table(value="uf_fksxjlbnew",datasource = "local")
public class FkTimejl {
    @Field(dbFiledName="")
    private int fklx=-1;//类型
    @Field(dbFiledName="")
    private String fkyqsj="";//反馈要求时间
    @Field(dbFiledName="")
    private String jbjlid="";//交办记录ID
    @Field(dbFiledName="")
    private String rwid="";//任务ID
    @Field(dbFiledName="")
    private String key1="";//KEY

    /* 建模自带属性*/
    @Field(dbFiledName="")
    private String modedatacreater="1";//创建人
    @Field(dbFiledName="")
    private String modedatacreatedate="";//创建日期
    @Field(dbFiledName="")
    private String formmodeid="137";//模型ID 默认值 本地22
    @Field(dbFiledName="")
    private String modedatacreatertype="";//创建类型
    @Field(dbFiledName="")
    private String modedatacreatetime="";//创建时间
    @Field(dbFiledName="")
    private String modeuuid="";//UUID

    public FkTimejl(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
    }

    public String getKey() {
        return key1;
    }

    public void setKey(String key) {
        this.key1 = key;
    }

    public String getRwid() {
        return rwid;
    }

    public void setRwid(String rwid) {
        this.rwid = rwid;
    }

    public int getFklx() {
        return fklx;
    }

    public void setFklx(int fklx) {
        this.fklx = fklx;
    }

    public String getFkyqsj() {
        return fkyqsj;
    }

    public void setFkyqsj(String fkyqsj) {
        this.fkyqsj = fkyqsj;
    }

    public String getJbjlid() {
        return jbjlid;
    }

    public void setJbjlid(String jbjlid) {
        this.jbjlid = jbjlid;
    }

    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }

    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }

    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }

    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }

    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    public String getModeuuid() {
        return modeuuid;
    }

    public void setModeuuid(String modeuuid) {
        this.modeuuid = modeuuid;
    }

    @Override
    public String toString() {
        return "FkTimejl{" +
                "fklx=" + fklx +
                ", fkyqsj='" + fkyqsj + '\'' +
                ", jbjlid='" + jbjlid + '\'' +
                ", rwid='" + rwid + '\'' +
                ", key='" + key1 + '\'' +
                ", modedatacreater='" + modedatacreater + '\'' +
                ", modedatacreatedate='" + modedatacreatedate + '\'' +
                ", formmodeid='" + formmodeid + '\'' +
                ", modedatacreatertype='" + modedatacreatertype + '\'' +
                ", modedatacreatetime='" + modedatacreatetime + '\'' +
                ", modeuuid='" + modeuuid + '\'' +
                '}';
    }
}
